-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GPU accelerated rendering & Mouse-handler optimization #146
Conversation
LeandroTreu
commented
May 17, 2024
•
edited
Loading
edited
- Fixed issue that prevented GPU acceleration for rendering
- Further optimized mouse-handler hover computation
- Moved summarize edges setting to performance section
- Added Arrow LOD checks for deferred edges
- Replaced ellipse drawing with native call
merge master
src/renderer/renderer_elements.ts
Outdated
// CanvasRenderingContext2D ellipse call as an alternative. | ||
ctx.ellipse(x+w/2, y+h/2, w/2, h/2, 0, 0, 2 * Math.PI); | ||
|
||
// const kappa = .5522848, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
probably makes sense to remove the commented out code
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Done
src/utils/sdfv_settings.ts
Outdated
@@ -30,7 +30,7 @@ export class SDFVSettings { | |||
'showStateNames': true, | |||
'showMapSchedules': true, | |||
'showDataDescriptorSizes': false, | |||
'summarizeLargeNumbersOfEdges': false, | |||
'summarizeLargeNumbersOfEdges': true, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I would prefer to leave the default on false for now since it's a very new feature that drastically changes the look of an SDFG in certain cases. It's something that people should gradually experiment with / evaluate for themselves first before we switch it to be the default.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Makes sense!